package com.others.util;

public interface Constants2 {

    public static int SM_DB_SET_NUM = 5;
    
    public static int LINK_LIST_COLUMN_NUM = 5;
    
    public static int LINK_LIST_SIZE_DEFAULT = 60;  //It means we get top 60 by default.
    
    
    public static int DURATION_COOKIE_SAVE_MAX = 2419200; //60 * 60 * 24 * 7 * 4 = 2419200, 4 weeks.

    public static final String ERROR_INVALID_PASSWORD = "error.passwordInvalid";
    public static final String ERROR_INVALID_PASSWORD2 = "error.passwordInvalid2";

    public static final String ERROR_NOT_LOGIN = "error.notLogin";
    public static final String ERROR_USERNAME_PASSWORD_EMPTY = "error.userName.password.empty";
    
    public static final String ERROR_IS_REQUIRED = "error.isRequired";
    public static final String ERROR_IS_INVALID = "error.isInvalid";
    
    public static final String ACCOUNT_SESSION = "accountSession";
    public static final String ACCOUNT_COOKIE = "accountCookie";
    
    public static final String TEAM_SESSION = "teamSession";
    public static final String TEAM_COOKIE = "teamCookie";
    
    
    //class: com.opensymphony.xwork2.Action: SUCCESS, NONE, ERROR, INPUT, LOGIN.
    public static final String SUBMIT = "submit";
    public static final String LOGOUT = "logout";
    public static final String BACK = "back";
    
    public static final String ADD = "add";
    public static final String DELETE = "delete";
    public static final String UPDATE = "update";
    public static final String LIST = "list";
    
    public static final String FAILED = "failed";
    
    public static final String TEAMLOGIN= "teamLogin";

}
